@setlocal
@pushd.

@set PATH=%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN;%PATH% 
CD /D %~dp0

set siteUrl=http://localhost:7777

if not "%1"=="" (
   set siteUrl=%1 
)

stsadm.exe -o addsolution -filename SdcAdministrationFeature.wsp
stsadm.exe -o deploysolution -name SdcAdministrationFeature.wsp -local -url %siteUrl% -allowGacDeployment

@popd
@endlocal


